﻿<%@ Page Title="Abrir Fechar Caixa" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AbrirFecharCaixaView.aspx.cs" Inherits="ASPLanchonete.Telas.AbrirFecharCaixaView" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Abrir Fechar Caixa</h1>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
    <p>
        <asp:Label Text="Código:" runat="server" Width="300"/>
        <asp:TextBox ID="txtCodigo" runat="server" Width="300"  CssClass="textBox" 
            Enabled="False">0</asp:TextBox>
    </p>
    <hr />
    <div style="width:920px;">
        <h3>Abrir Caixa</h3>
        <p>
            <asp:Label Text="Valor deixado em caixa" runat="server" Width="266" Font-Size="18px" Height="35px"/>
            <asp:Label Text="R$" runat="server" Width="30px" Font-Size="25px" Height="35px"/>
            <asp:TextBox ID="txtValorDeixadoEmCaixa" runat="server" Width="300" CssClass="textBox" Font-Size="25px" ForeColor="Red" Enabled="False" />
        </p>
        <p>
            <asp:Label Text="Valor a Acrescentar no Caixa" runat="server" Width="266" Font-Size="18px" Height="35px"/>
            <asp:Label Text="R$" runat="server" Width="30px" Font-Size="25px" Height="35px"/>
            <asp:TextBox ID="txtValorAcrescentar" runat="server" Width="300" CssClass="textBox" Font-Size="25px" ForeColor="Red" />
        </p>
    </div>
    <hr />
    <div style="width:920px;">
        <h3>Fechar Caixa</h3>
        <p>
            <asp:Label Text="Qtde Itens Vendidos" runat="server" Width="300" Font-Size="18px" Height="35px"/>
            <asp:TextBox ID="txtQtdeItensVendidos" runat="server" Width="300" CssClass="textBox" Font-Size="25px" ForeColor="Red" Enabled="False" />            
        </p>
        <p>
            <asp:Label Text="Valor dos Itens Vendidos" runat="server" Width="266" Font-Size="18px" Height="35px"/>
            <asp:Label ID="Label1" Text="R$" runat="server" Width="30px" Font-Size="25px" Height="35px"/>
            <asp:TextBox ID="txtValorItensVendidos" runat="server" Width="300" CssClass="textBox" Font-Size="25px" ForeColor="Red" Enabled="False" />            
        </p>
        <p>
            <asp:Label Text="Qtde Itens Comprados" runat="server" Width="300" Font-Size="18px" Height="35px"/>
            <asp:TextBox ID="txtQtdeItensComprados" runat="server" Width="300" CssClass="textBox" Font-Size="25px" ForeColor="Red" Enabled="False" />            
        </p>
        <p>
            <asp:Label Text="Valor dos Itens Comprados" runat="server" Width="266" Font-Size="18px" Height="35px"/>
            <asp:Label Text="R$" runat="server" Width="30px" Font-Size="25px" Height="35px"/>
            <asp:TextBox ID="txtValorItensComprados" runat="server" Width="300" CssClass="textBox" Font-Size="25px" ForeColor="Red" Enabled="False" />            
        </p>
        <p>
            <asp:Label Text="Valor em Caixa" runat="server" Width="266" Font-Size="18px" Height="35px"/>
            <asp:Label Text="R$" runat="server" Width="30px" Font-Size="25px" Height="35px"/>
            <asp:TextBox ID="txtValorEmCaixa" runat="server" Width="300" CssClass="textBox" Font-Size="25px" ForeColor="Red" Enabled="False" />            
        </p>
        <asp:UpdatePanel ID="udpValorDeixar" runat="server">
            <ContentTemplate>
                <asp:Label Text="Valor a Deixar no Caixa" runat="server" Width="266" Font-Size="18px" Height="35px"/>
                <asp:Label Text="R$" runat="server" Width="30px" Font-Size="25px" Height="35px"/>
                <asp:TextBox ID="txtValorADeixar" runat="server" Width="300" CssClass="textBox" 
                    Font-Size="25px" ForeColor="Red" 
                    ontextchanged="txtValorADeixar_TextChanged" AutoPostBack="True" />
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="udpValorRetirar" runat="server">
            <ContentTemplate>
                <asp:Label Text="Valor a Retirar do Caixa" runat="server" Width="266" Font-Size="18px" Height="35px"/>
                <asp:Label Text="R$" runat="server" Width="30px" Font-Size="25px" Height="35px"/>
                <asp:TextBox ID="txtValorARetirar" runat="server" Width="300" 
                    CssClass="textBox" Font-Size="25px" ForeColor="Red" Enabled="False" 
                    AutoPostBack="True"/>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <hr />
        <asp:Panel ID="Panel4" runat="server" Height="95px">
            <div class="pesquisa">
            </div>
            <div class="pesquisaDireita">
            </div>
            <div class="centroBaixo">
                <asp:Label ID="txtResultado" runat="server" />
            </div>
            <div class="submitButton">
                <asp:Button ID="btnSalvar" Text="Salvar" runat="server" Width="80" 
                    Height="80" onclick="btnSalvar_Click"/>
                <asp:Button ID="btnLimpar" Text="Limpar" runat="server" Width="80" Height="80" 
                    CausesValidation="False" onclick="btnLimpar_Click"/>
                <asp:Button ID="btnCancelar" Text="Cancelar" runat="server" Width="80" 
                    Height="80" onclick="btnCancelar_Click" CausesValidation="False"/>
            </div>    
        </asp:Panel>
</asp:Content>
